package com.j283_5.wisdom_park.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.j283_5.wisdom_park.pojo.Announcement;
import com.j283_5.wisdom_park.pojo.VisitRecord;
import com.j283_5.wisdom_park.vo.asset_management.AnnouncementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
@Mapper
public interface AnnouncementMapper extends BaseMapper<Announcement>  {

    /**
     * 根据资源id查询详情
     * @return
     */
    List<AnnouncementVo> findAnnouncementById(
            @Param("ann_Id") Integer ann_Id
    );
}
